﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Backend/mtpAdmin.master" AutoEventWireup="true" CodeBehind="ArticleEdit.aspx.cs" Inherits="HPortal.Backend.ArticleEdit" %>
<%@ Register Assembly="System.FckEditorV2" Namespace="OsPortal.oFckEditorV264" TagPrefix="FCKeditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="dvTitleContent"> 

    Quản lý bài viết :: Bài viết mới</div>
    <fieldset>
    <legend>Soạn thảo bài viết</legend>
    <table class="MainTable">
    <tr>
    <td>    <FCKeditor:FCKeditor ID="txtContent" CustomConfigurationsPath="~/../CmsJs/fckEditor.js?100205"
        PluginsPath="../../FckPlugins" runat="server" Width="640px" Height="408px" ToolbarSet="Basic">
    </FCKeditor:FCKeditor>
    </td>
    <td class="rightCollumn">
    <table class="MainTable">
    <tr>
        <td >
            Chuyên mục:
        </td>
</tr>
<tr>
        <td>
            <asp:DropDownList ID="cboChannelList" runat="server" Width="200px" 
                AutoPostBack="True" 
                onselectedindexchanged="cboChannelList_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        </tr>
        <tr>
        <td >
            Khối tin:
        </td>
        </tr>
        <tr>
        <td>
            <asp:DropDownList ID="cboPanelList" runat="server" Width="200px">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
    <td>Tiêu đề bài viết</td>
    </tr>
    <tr>
    <td>    <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                ControlToValidate="txtTitle"></asp:RequiredFieldValidator>

    </td>
    </tr>
    <tr>
    <td>
        Tóm tắt nội dung</td>
    </tr>
    <tr>
    <td><asp:TextBox ID="txtHead" Width="300px" Height="60px" runat="server" 
            TextMode="MultiLine"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
        Ảnh minh họa&nbsp;</td>
    </tr>
    <tr>
    <td>
    <input id="flImage" type="file" runat="server" style="width: 291px" />
    </td>
    </tr>
    <tr>
    <td>
        Ngày bắt đầu</td>
    </tr>
    <tr>
    <td>
            <asp:TextBox ID="txtPublishTime" runat="server" Width="100px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                ControlToValidate="txtPublishTime"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>
        Ngày kết thúc</td>
    </tr>
        <tr>
    <td>
            <asp:TextBox ID="txtExpireTime" runat="server" Width="100px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                ControlToValidate="txtExpireTime"></asp:RequiredFieldValidator>
    </td>
    </tr>
        <tr>
    <td>
        <asp:CheckBox ID="chkTop" runat="server" Text="Bài nổi bật" />
    </td>
    </tr>
        <tr>
    <td>
    </td>
    </tr>
    </table>
    </td></tr>
    <tr>
    <td>
                <asp:Button ID="cmdAddArticle" Text="Lưu bài" runat="server" Width="70px" 
                    onclick="cmdAddArticle_Click">
            </asp:Button>&nbsp;&nbsp;<asp:Button ID="cmdSubmit" runat="server" Text="Gửi bài"
                Width="70px" onclick="cmdSubmit_Click" />&nbsp;
            <asp:Button ID="cmdPublic" runat="server" Text="Đăng bài" Width="70px" 
                    onclick="cmdPublic_Click" />&nbsp;
            <asp:Button ID="cmdDelete" runat="server" Text="Xóa bài" 
                    OnClientClick="return confirm('Are you sure?');" Width="70px" 
                    onclick="cmdDelete_Click">
            </asp:Button>
    </td></tr></table>
    </fieldset>
</asp:Content>
